package com.ruoyi.pethosital.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工管理对象 t_employee
 * 
 * @author ruoyi
 * @date 2023-08-18
 */
public class TEmployee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 拼音 */
    @Excel(name = "拼音")
    private String pinyin;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 密码（密文） */
    @Excel(name = "密码", readConverterExp = "密=文")
    private String password;

    /** 是否启用，1=启用，0=未启用 */
    @Excel(name = "是否启用，1=启用，0=未启用")
    private Integer enable;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String employeeName;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 职位 */
    @Excel(name = "职位")
    private Integer type;

    /** 职位名称 */
    @Excel(name = "职位名称")
    private String remarks;

    /** 电话 */
    @Excel(name = "电话")
    private String phoneNumber;

    /** 电子邮箱 */
    @Excel(name = "电子邮箱")
    private String email;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 是否推荐 */
    @Excel(name = "是否推荐")
    private Long isRecommend;

    /** 头像URL */
    @Excel(name = "头像URL")
    private String imgUrl;

    /** 员工个人简介ID */
    @Excel(name = "员工个人简介ID")
    private Long profileId;

    /** 最后登录IP地址（冗余） */
    @Excel(name = "最后登录IP地址", readConverterExp = "冗=余")
    private String lastLoginIp;

    /** 累计登录次数（冗余） */
    @Excel(name = "累计登录次数", readConverterExp = "冗=余")
    private Integer loginCount;

    /** 最后登录时间（冗余） */
    @Excel(name = "最后登录时间", readConverterExp = "冗=余")
    private Date gmtLastLogin;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtCreate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtModified;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPinyin(String pinyin) 
    {
        this.pinyin = pinyin;
    }

    public String getPinyin() 
    {
        return pinyin;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setEnable(Integer enable) 
    {
        this.enable = enable;
    }

    public Integer getEnable() 
    {
        return enable;
    }
    public void setEmployeeName(String employeeName) 
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName() 
    {
        return employeeName;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setIsRecommend(Long isRecommend) 
    {
        this.isRecommend = isRecommend;
    }

    public Long getIsRecommend() 
    {
        return isRecommend;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setProfileId(Long profileId) 
    {
        this.profileId = profileId;
    }

    public Long getProfileId() 
    {
        return profileId;
    }
    public void setLastLoginIp(String lastLoginIp) 
    {
        this.lastLoginIp = lastLoginIp;
    }

    public String getLastLoginIp() 
    {
        return lastLoginIp;
    }
    public void setLoginCount(Integer loginCount) 
    {
        this.loginCount = loginCount;
    }

    public Integer getLoginCount() 
    {
        return loginCount;
    }
    public void setGmtLastLogin(Date gmtLastLogin) 
    {
        this.gmtLastLogin = gmtLastLogin;
    }

    public Date getGmtLastLogin() 
    {
        return gmtLastLogin;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModified(Date gmtModified) 
    {
        this.gmtModified = gmtModified;
    }

    public Date getGmtModified() 
    {
        return gmtModified;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pinyin", getPinyin())
            .append("userName", getUserName())
            .append("password", getPassword())
            .append("enable", getEnable())
            .append("employeeName", getEmployeeName())
            .append("gender", getGender())
            .append("type", getType())
            .append("remarks", getRemarks())
            .append("phoneNumber", getPhoneNumber())
            .append("email", getEmail())
            .append("age", getAge())
            .append("isRecommend", getIsRecommend())
            .append("imgUrl", getImgUrl())
            .append("profileId", getProfileId())
            .append("lastLoginIp", getLastLoginIp())
            .append("loginCount", getLoginCount())
            .append("gmtLastLogin", getGmtLastLogin())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModified", getGmtModified())
            .toString();
    }
}
